package com.zaicheng.cloud.netty;

import java.io.Closeable;

/**
 @author zaicheng
 @version 1.0
 @date 2022-04-19
 @email zzc15847256473@163.com
 */

public class RpcResponse<T> {

        private  final  int  status;

        private  final String  reason;

        private  final  RpcRequest rpcRequest;

        public RpcResponse(int status, String reason, RpcRequest rpcRequest) {
            this.status = status;
            this.reason = reason;
            this.rpcRequest = rpcRequest;
        }


        public  interface Body extends Closeable{

        }
}
